Skip to content

feat: add --version flag to CLI#36

Merged
emson merged 4 commits intomainfrom
feature/cli-version
Apr 28, 2026
Merged

feat: add --version flag to CLI#36
emson merged 4 commits intomainfrom
feature/cli-version

Conversation

@emson
Copy link
Copy Markdown
Owner

@emson emson commented Apr 28, 2026

Summary

  • Add elfmem --version / -V flag — agents were calling this and getting error exit codes
  • Export elfmem.__version__ from package root for programmatic access
  • Version read from importlib.metadata, keeping pyproject.toml as single source of truth

Test plan

  • elfmem --versionelfmem 0.7.0
  • elfmem -Velfmem 0.7.0
  • python -c "import elfmem; print(elfmem.__version__)"0.7.0
  • ruff, mypy, 603 tests pass

🤖 Generated with Claude Code

emson and others added 4 commits April 28, 2026 23:05
Document the simulate frame, mind block lifecycle, score boosts,
and falsifiable prediction tracking. Update comparison table,
API reference, architecture tree, and fix stale mypy command.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Agents calling `elfmem --version` were getting an error exit code.
Version is read from package metadata (importlib.metadata), keeping
pyproject.toml as the single source of truth. Also exports
elfmem.__version__ for programmatic access.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@emson emson merged commit 6fd8437 into main Apr 28, 2026
6 checks passed
@emson emson deleted the feature/cli-version branch April 28, 2026 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant